﻿using UnityEngine;
using System.Collections;

public class guitexture : MonoBehaviour {

public GUITexture gui ;
public Vector2 pos;
public	Vector2 size;



void Update() {
		//if (pos.y <= 40){
    gui.pixelInset = new Rect(pos.y + 0.1f * Time.deltaTime,pos.y,size.x,size.y);
		//}
	}
}
